<%--
  Created by IntelliJ IDEA.
  User: hugohoo
  Date: 10/11/16
  Time: 2:12 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Show Bean</title>
</head>
<body>
    <jsp:useBean id="userInfo" class="com.ooho.homework05.bean.MyBean" scope="request" />

    Username: <jsp:getProperty name="userInfo" property="username" /> <br/>
    age : <jsp:getProperty name="userInfo" property="age" />
</body>
</html>
